﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DiscMaster.Web.Models;

namespace DiscMaster.Web.Extensions
{
    public static class Texts
    {
        public static string IfEmptyThen(this string value, string valueifempty)
        {
            if (string.IsNullOrEmpty(value))
            {
                return valueifempty;
            }
            else
            {
                return value;
            }
        }
    }
}
